﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Collections.Specialized;

namespace FilesUpload
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            NameValueCollection nameValueTable = helper.GetQueryStringParameters();
            string app = nameValueTable.Get("ApplicationType");
            //app = "ArchiveExport";
            if (!string.IsNullOrEmpty(app) && app == "ArchiveExport")
            {
                DownloadManager down = new DownloadManager();
                Application.Run(down);
            }
            else
            {
                Application.Run(new Form1());
            }
        }
    }
}
